/* 
 * This file is part of Soft Mood (https://notabug.org/alkeon/soft-mood).
 * Copyright (c) 2019 Alejandro "alkeon" Castilla
 * 
 * This program is free software: you can redistribute it and/or modify  
 * it under the terms of the GNU General Public License as published by  
 * the Free Software Foundation, version 3.
 *
 * This program is distributed in the hope that it will be useful, but 
 * WITHOUT ANY WARRANTY; without even the implied warranty of 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License 
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
#ifndef __SDL_SONG__
#define __SDL_SONG__
#include <iostream>
#include "SDL_mixer.h"
#include "SDL_image.h"
#include "SDL.h"
#include <thread>
#include <chrono>
using namespace std;


class song{
	Mix_Chunk * _music;
	int _channel;
	int _volume;
	public:

		song(const string& file);
		void set_volume(int volume);
		void change_song(const string& file, int sound);
};
#endif
